Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

183
Visualizações
React JS autoComplete ="off " not working ---Chrome

I tried all solutions suggested by community. But none of them is working in 2021. Tried

autoComplete ="off",
autoComplete ="nope"
autoComplete={'' + Math.random()}

Does anyone have a new solution? This is the input component I'm using

        <input
             autoComplete={'' + Math.random()}                
             key={name}
             value={value}
             onChange={onChange}
             className="input--custom"
             id={name}
             name={name}
             type={type}
       />
about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

You can use

autoComplete="new-password"

From the docs

If you are defining a user management page where a user can specify a new password for another person, and therefore you want to prevent autofilling of password fields, you can use autocomplete="new-password".

about 4 years ago · Juan Pablo Isaza Relatório

0

It is an open bug in the Chromium project, on which Chrome is based.

Also from MDN:

Note: In most modern browsers, setting autocomplete to "off" will not prevent a password manager from asking the user if they would like to save username and password information, or from automatically filling in those values in a site's login form.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda